package com.tj.feige.app;

import android.content.Intent;

import com.tj.feige.app.core.b.g;

import java.util.ArrayList;
import java.util.List;

public class ak implements com.tj.feige.app.core.d.b{
    final /* synthetic */ FeiGeChatUI a;

    /* JADX INFO: Access modifiers changed from: package-private */
    public ak(FeiGeChatUI feiGeChatUI) {
        this.a = feiGeChatUI;
    }

    @Override // com.tj.feige.app.core.d.b
    public void a(g gVar) {
        switch (gVar.b()) {
            case 1:
                Intent intent = new Intent(this.a, FeiGeChatHistoryUI.class);
                intent.putExtra("sChatHistoryUserKey", this.a.p);
                this.a.startActivity(intent);
                return;
            case 3:
                a.onMenuOpened(0,null);
                break;
            default:
                return;
        }
    }

    @Override // com.tj.feige.app.core.d.b
    public List a() {
        ArrayList arrayList = new ArrayList();
        //修复底部菜单没有菜单键无法打开的问题
        for (g gVar : new g[]{new g("查看聊天记录", 1),new g("显示底部菜单", 3)}) {
            arrayList.add(gVar);
        }
        return arrayList;
    }

}
